﻿<Window x:Class="BuildMonitor.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:av="http://schemas.codeplex.com/wpfcontrib/xaml/presentation"
    Title="Main Window" Height="300" Width="300"
    StateChanged="Window_StateChanged"
    Closing="Window_Closing"
    Loaded="Window_Loaded"
    >
    <Window.Resources>
        <ObjectDataProvider x:Key="consoleData"/>
    </Window.Resources>
    <Grid DataContext="{StaticResource consoleData}">
        <av:NotifyIcon Name="notifyIcon" Icon="/BuildMonitor;component/Properties/TrayIcon.ico" Text="TFS Build Monitor"
        BalloonTipText="The Build Monitor has been minimised." BalloonTipTitle="TFS Build Monitor" MouseClick="notifyIcon_MouseClick"
        >
            <FrameworkElement.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Placeholder" />
                </ContextMenu>
            </FrameworkElement.ContextMenu>
        </av:NotifyIcon>
        <ScrollViewer>
            <TextBlock x:Name="StatusText" Text="{Binding Path=Text}"/>
        </ScrollViewer>
    </Grid>
</Window>
